#ifndef BUBBLEUSER_H_
#define BUBBLEUSER_H_

#include <e32base.h>
#include "rectf.h"

class CGraphicsContext;

class BubbleUser
	{
public:
	virtual void AdjustMap(RectF rectf) = 0;

	/**
	 * 绘制泡泡
	 * @param canvas
	 * @param b true:获取焦点；false失去焦点
	 * @return 泡泡绘制区域
	 */
	virtual const RectF& DrawBubble(CGraphicsContext& canvas, TBool b) = 0;

	/**
	 * 泡泡单击事件(注：up时回调)
	 */
	virtual void OnClickBubble() = 0;

	virtual void ReDrawMap() = 0;
	
	virtual TBool Equals(const BubbleUser& bubbleUser) const = 0;
	
	};

#endif /* BUBBLEUSER_H_ */
